package cn.edu.whu.irlab.service;

import cn.edu.whu.irlab.model.Answer;

/**
 * Created by Roger on 2016/7/30.
 */
public interface AnswerService {
    int deleteByPrimaryKey(Integer id);

    int insert(Answer record);

    int insertSelective(Answer record);

    Answer selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Answer record);

    int updateByPrimaryKey(Answer record);

    int increaseApprovalNum(Integer id);
}
